package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Detectmethod;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface DetectmethodDAO extends JpaDao<Detectmethod> {

	public Detectmethod findDetectmethodById(Integer id) throws DataAccessException;

	public Detectmethod findDetectmethodById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByName(String name) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByNameContaining(String name_1) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByStep(String step) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByStep(String step, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByStepContaining(String step_1) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByStepContaining(String step_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByDescription(String description) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Detectmethod findDetectmethodByPrimaryKey(Integer id) throws DataAccessException;

	public Detectmethod findDetectmethodByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Detectmethod> findAllDetectmethods() throws DataAccessException;

	public Set<Detectmethod> findAllDetectmethods(int startResult, int maxRows) throws DataAccessException;

	public Set<Detectmethod> findDetectmethodByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectmethod> findDetectmethodsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Detectmethod findDetectmethodByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Detectmethod findDetectmethodByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
